package sample.positive.bean;

public class Square extends Rectangle{
    public Square(double size) {
        super(size, size);
    }

    public void setSize(double size) {
        this.height = size;
        this.width = size;
    }

    public double getSize() {
        return this.height;
    }
}
